package com.infoauto.opc.gateway.dao;

import com.infoauto.opc.gateway.model.gtm4.CheckTheNumberOfUnits2;
import com.infoauto.opc.gateway.model.gtm4.CheckTheProcess;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 检查工序
 */
public interface CheckTheProcessDao {
    int insert(CheckTheProcess checkTheProcess);

    int update(CheckTheProcess checkTheProcess);

    List<CheckTheProcess> selectByProducTionTimeAndShift(@Param("productionTime")String productionTime, @Param("shift") Integer shift);

    CheckTheProcess select(@Param("productionTime") String productionTime, @Param("shift") Integer shift, @Param("sn") Integer sn);

    CheckTheProcess selectById(@Param("id") String id);
}
